package com.st.sbmb.mapper;

import com.st.sbmb.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
/*    //查询所有用户数据
    @Select("select id, name, age, gender, phone from user")
    public List<User> list();*/

    List findAllUser();

    User findUserById(Integer id);

    int updateUser(User user) ;

}
